Dynomotion

Group: DynoMotion Message: 3754 From: bradodarb Date: 2/6/2012
Subject: Pre-build Path
Hello Tom,

I am implementing some MM2 classes for use with the KFlop at work.

Traditionally, most of our paths are fairly simple compared to a large G-code file. I usually build the entire path prior to execution and apply my own accel/decel/vel smoothing. How would I do this with a Kflop?

How can I load a sequence of segments into the TPlanner and then execute it once loaded?


The only way I can see to emulate this behavior is to set the lookahead to like an hour, load the segments and then set it to a small amount of time. Will simply moving the lookahead time around trigger the execution of motion I am looking for? Or is there a more concise way?

Thank you,
-Brad Murry
Group: DynoMotion Message: 3756 From: Tom Kerekes Date: 2/6/2012
Subject: Re: Pre-build Path
Hi Brad,
 
I'm not sure I really follow.  But yes you might just feed in StraightFeeds and ArcFeeds into the CoordMotion object.  If you set the Buffer time to an Hour the motion will not automatically start until it has an hour of data downloaded to KFLOP.  You would then call FlushSegments to finalize the trajectory planning of the last few segments, download them and trigger the motion.  You wouldn't really have direct control over the accel/decel/vel but rather the Trajectory Planner would handle that automatically based on the settings you provide to it.
 
regards
TK

Group: DynoMotion Message: 3761 From: Brad Murry Date: 2/6/2012
Subject: Re: Pre-build Path

Hello Tom,

 

That is what I was after, and yes I was thinking to rely on your TPlanner instead of performing my own smoothing.  Wherever the smoothing was happening, I wanted to load the entire segment list so that an optimal path is performed.

 

 

Thanks,

Brad Murry

 

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Monday, February 06, 2012 7:15 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Pre-build Path

 

 

Hi Brad,

 

I'm not sure I really follow.  But yes you might just feed in StraightFeeds and ArcFeeds into the CoordMotion object.  If you set the Buffer time to an Hour the motion will not automatically start until it has an hour of data downloaded to KFLOP.  You would then call FlushSegments to finalize the trajectory planning of the last few segments, download them and trigger the motion.  You wouldn't really have direct control over the accel/decel/vel but rather the Trajectory Planner would handle that automatically based on the settings you provide to it.

 

regards

TK

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Monday, February 6, 2012 6:06 PM
Subject: [DynoMotion] Pre-build Path

 

 

Hello Tom,

I am implementing some MM2 classes for use with the KFlop at work.

Traditionally, most of our paths are fairly simple compared to a large G-code file. I usually build the entire path prior to execution and apply my own accel/decel/vel smoothing. How would I do this with a Kflop?

How can I load a sequence of segments into the TPlanner and then execute it once loaded?

The only way I can see to emulate this behavior is to set the lookahead to like an hour, load the segments and then set it to a small amount of time. Will simply moving the lookahead time around trigger the execution of motion I am looking for? Or is there a more concise way?

Thank you,
-Brad Murry